package com.marvels.system.common.service;

import java.util.List;
import java.util.Map;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.system.common.dto.McsmRevealConfigureAppDTO;

/**
 * 系统配置service
 * @author 唐佩文
 *
 */
public interface SysConfigService {
	
	/**
	 * app前端展示配置
	 * @param appDTO
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public Map<String,Object> appRevealConfigure(McsmRevealConfigureAppDTO appDTO) throws MarvelsBusinessException;
	
	/**
	 * 查询配置列表
	 * @param configDto
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public List<McsmRevealConfigureAppDTO> queryConfigList(McsmRevealConfigureAppDTO configDto) throws MarvelsBusinessException;
	
	/**
	 * 修改配置
	 * @param configDto
	 * @throws MarvelsBusinessException
	 */
	public McsmRevealConfigureAppDTO updateConfigByKey(McsmRevealConfigureAppDTO configDto) throws MarvelsBusinessException;
	
	/**
	 * 查询支付渠道列表
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public List<McsmRevealConfigureAppDTO> queryPayChannelList() throws MarvelsBusinessException;
}
